<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="div">
        <p v-text="data1"></p>
        <p v-html="data2"></p>
    </div>
</body>
<script>

    var vue = new Vue({
        el:"#div",
        data:{
            data1:"13123112313",
            data2:"<h1>info</h1>"
        }
    });

</script>
</html>